package com.eqdd.yiqidian.ui.discover.college;

import android.view.View;

import com.eqdd.yiqidian.bean.EnterBean;
import com.eqdd.yiqidian.box.ItemDecoration.DividerLineItemDecoration;
import com.eqdd.yiqidian.ui.base.BaseEnterActivity;
import com.eqdd.yiqidian.ui.yiqixue.LearnMainActivity;

/**
 * Created by lvzhihao on 17-5-20.
 */

public class CollegeActivity extends BaseEnterActivity {
    private Class[] classes = new Class[]{
            null,
            null,
            null,
            null,
            null,
            null,
            TrainListActivity.class,
            null,
            LearnMainActivity.class
    };

    @Override
    public void itemClick(int p) {
        if (classes[p] != null) {
            startActivity(classes[p], null);
        }
    }

    @Override
    public void initEnterData() {
        dataBinding.recyclerView.addItemDecoration(new DividerLineItemDecoration(this));
        initTopTitleBar(View.VISIBLE, "企业商学院");
        enterBeans.add(new EnterBean("入职培训课程库"));
        enterBeans.add(new EnterBean("岗位综合技能课程库"));
        enterBeans.add(new EnterBean("岗位技能进阶课程库"));
        enterBeans.add(new EnterBean("关键业务技能课程库"));
        enterBeans.add(new EnterBean("师资顾问库"));
        enterBeans.add(new EnterBean("内部资料库"));
        enterBeans.add(new EnterBean("现场培训"));
        enterBeans.add(new EnterBean("学习看板"));
        enterBeans.add(new EnterBean("易企学"));
    }

}
